# uamcf/__init__.py
"""
统一自适应模型压缩框架 (UAMCF)
Unified Adaptive Model Compression Framework

一个通用、可扩展的模型压缩框架，支持多种深度学习模型和压缩方法。
"""

__version__ = '1.0.0'
__author__ = 'UAMCF Team'

from .core import CompressionManager
from .methods import (
    CompressionMethod,
    Quantization,
    Pruning,
    Distillation,
    Factorization
)
from .adapters import (
    ModelAdapter,
    PyTorchAdapter,
    TensorFlowAdapter,
    ONNXAdapter,
    TFLiteAdapter
)
from .utils import (
    get_logger,
    setup_logger,
    load_config,
    save_config,
    evaluate_model,
    compare_models,
    plot_compression_results
)

# 导出主要接口
__all__ = [
    'CompressionManager',
    'CompressionMethod',
    'Quantization',
    'Pruning',
    'Distillation',
    'Factorization',
    'ModelAdapter',
    'PyTorchAdapter',
    'TensorFlowAdapter',
    'ONNXAdapter',
    'TFLiteAdapter',
    'get_logger',
    'setup_logger',
    'load_config',
    'save_config',
    'evaluate_model',
    'compare_models',
    'plot_compression_results'
]